import request from '../utils/request';

//登录
export const login = data => {
    return request({
        url: 'api/Auth/Login',
        method: 'post',
        data: data
    });
};
//菜单列表
export const menuInit = data => {
    return request({
        url: 'api/Menu/Init',
        method: 'GET',
        params: data
    });
};